#version 460 core

layout (location = 0) in vec2 in_screen_size;
layout (location = 1) in vec3 in_pos;

out vec2 screen_size;


void main() {
	gl_Position = vec4(in_pos, 1.0);
	if (in_screen_size.x == 0.0) {
		gl_Position.y += 1.0;
	}
	screen_size = in_screen_size;
}
